#ifndef __LCD1602_H__
#define __LCD1602_H__

#define LCD_IO P0//数据输入端口
sbit LCD_RS=P2^6;//数据/命令选择端
sbit LCD_RW=P2^5;//读写选择端
sbit LCD_EN=P2^7;//时钟赋能

void LCD_Delay1ms(unsigned char time);		
void LCD_Init();
void LCD_ShowChar(unsigned char line,unsigned char column,unsigned char c);
void LCD_ShowString(unsigned char line,unsigned char column,unsigned char string[]);
void LCD_ShowSignedNum(unsigned char line,unsigned char column,int c,unsigned char length);
void LCD_ShowNum(unsigned char line,unsigned char column,int c,unsigned char length);
void LCD_ShowHexNum(unsigned char line,unsigned char column,int c,unsigned char length);
void LCD_ShowBinNum(unsigned char line,unsigned char column,int c,unsigned char length);
void LCD_WriteCommand(unsigned char command);//写入命令指令

#endif